package com.xuecheng.manage_cms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//因为该项目模块需要依赖其他模块的类，所以需要扫描其他模块下的类
//扫描实体类
@EntityScan("com.xuecheng.framework.domain.cms")
//扫描api接口，因为controller层都要集成api接口
@ComponentScan("com.xuecheng.api")
@ComponentScan("com.xuecheng.manage_cms")
public class ManageCmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManageCmsApplication.class,args);
    }
}
